<template>
    <div class="footer">
        <van-tabbar route>
            <van-tabbar-item replace to="/index" icon="wap-home-o">首页</van-tabbar-item>
            <van-tabbar-item replace to="/daily" icon="calender-o">每天一练</van-tabbar-item>
            <van-tabbar-item replace to="/center" icon="edit">考试中心</van-tabbar-item>
            <van-tabbar-item replace to="/user" icon="user-o">我的</van-tabbar-item>
        </van-tabbar>
    </div>
</template>
<script>
    import Vue from 'vue';
    import {Tabbar, TabbarItem} from 'vant';

    Vue.use(Tabbar).use(TabbarItem);
    export default {}
</script>

